package cn.sdhuijin.vms.service;

import java.util.List;

import javax.inject.Inject;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import cn.sdhuijin.vms.dao.IControllerDao;
import cn.sdhuijin.vms.model.Controller;

@Service
public class ControllerService implements IControllerService {
	final Logger logger = LoggerFactory.getLogger(ControllerService.class);
	@Inject
	private IControllerDao controllerDao;

	@Override
	public List<Controller> list() {
		return controllerDao.findAll();
	}

}
